﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WordNet.Core.ElementContracts;

namespace WordNet.Core
{
    internal class PointerIndexKeyComparator:IEqualityComparer<IPointer>
    {
        
        public bool Equals(IPointer x, IPointer y)
        {
           return x.Equals(y);
        }

        public int GetHashCode(IPointer obj)
        {
            return obj.GetHashCode(); 
        }
    }
}
